#ifndef PANEL_H
#define PANEL_H
#include <SFML/Graphics.hpp>
#include "Globals.h"
#include "ResourceManager.h"

class Panel
{
    friend class GameState;
    friend class Bonus;
    friend class Level;

    public:
        Panel();
        ~Panel();
        void update(int x);
        void draw(sf::RenderWindow* window);
        void setPosition(float x, float y);
        void move(float delta);


    private:
        int w;
        int h;
        int size;
        sf::Sprite panelSprite;
};

#endif // PANEL_H
